-
Home
-
Advanced Dynamic Pricing for WooCommerce
-
4.5.2
-
Code
-
Classes
- AutoAddCartItem
Total Complexity |
40 |
Dependencies |
6 |
Dependents |
3 |
Total lines |
339 |
Lines of code |
142 |
Logical lines of code |
65 |
Comment lines |
102 |
Methods |
27 |
Properties |
16 |
Methods 27
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
__construct() |
A |
47 |
7 |
35 |
setVariation() |
S |
57 |
6 |
16 |
hash() |
S |
59 |
1 |
16 |
__clone() |
S |
75 |
2 |
4 |
setQty() |
S |
74 |
2 |
5 |
isReplaceWithCoupon() |
S |
82 |
1 |
3 |
getQty() |
S |
82 |
1 |
3 |
setPrice() |
S |
81 |
1 |
3 |
getCartItemData() |
S |
82 |
1 |
3 |
setCartItemData() |
S |
81 |
1 |
3 |
getVariation() |
S |
82 |
1 |
3 |
setReplaceWithCoupon() |
S |
80 |
1 |
3 |
getAssociatedHash() |
S |
82 |
1 |
3 |
setReplaceCouponCode() |
S |
81 |
1 |
3 |
getReplaceCouponCode() |
S |
82 |
1 |
3 |
getPos() |
S |
82 |
1 |
3 |
setCanBeRemoved() |
S |
80 |
1 |
3 |
setPos() |
S |
81 |
1 |
3 |
getPrice() |
S |
82 |
1 |
3 |
getProduct() |
S |
82 |
1 |
3 |
getQtyAlreadyInWcCart() |
S |
82 |
1 |
3 |
getRuleId() |
S |
82 |
1 |
3 |
setQtyAlreadyInWcCart() |
S |
81 |
1 |
3 |
isRecommended() |
S |
82 |
1 |
3 |
setIsRecommended() |
S |
80 |
1 |
3 |
canBeRemoved() |
S |
82 |
1 |
3 |
getOriginalPrice() |
S |
82 |
1 |
3 |